How to create a button and modify value when I click it